package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author chb
 * @date 2021/5/18 - 22:08
 * 这是一个声明式的远程调用
 **/
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/coupon/member/list")
    public R getCoupon();
}
